-
Notifications
You must be signed in to change notification settings - Fork 2
AE Realtime Monitor_EN
AE Realtime Monitor is the tab 3 feature of the Network Info Panel, capable of simultaneously monitoring multiple AE items/fluids in a scrollable list. Each row displays an item's icon, name, amount, real-time change, and 300s average change, with a remove button for easy management of key resources in the AE network.
- Simultaneously monitor multiple AE items/fluids in a scrollable list
- Located in Network Info Panel tab 3
- Each row shows: icon / name / amount / real-time change / 300s average change / remove button
- Supports entry mode and grid mode rendering layouts
- Red overlay shown when AE network is offline
Each monitored item row contains 6 columns:
| Column | Content | Description |
|---|---|---|
| Col 1 | Icon | Item/fluid display icon (iconSize × iconSize pixels) |
| Col 2 | Name | Localized name of the item/fluid (can be bolded) |
| Col 3 | Amount | Current stored amount in the AE network |
| Col 4 | Real-time change | Current change per minute (/min) |
| Col 5 | 300s average change | Average change per minute based on 5-minute window endpoints (/min) |
| Col 6 | Remove button | Click to remove this monitored item |
The 300s average rate is calculated using the first-last difference method, based on the first and last points of the series5m dataset:
Formula:
(last.amount - first.amount) / (last.tick - first.tick) × 1200.0
- last.amount / first.amount: amount at the last and first points of the series5m dataset
- last.tick - first.tick: tick difference between last and first points
- × 1200.0: converts per-tick rate to per-minute rate (20 ticks/s × 60 s = 1200 ticks/min)
This method is based on the 5-minute (300s) window's 61-point FIFO data, smoothing short-term fluctuations to reflect overall trends.
AE Realtime Monitor supports 2 render modes:
| Mode | Name | Layout | Description |
|---|---|---|---|
| 0 | Entry mode (default) | List layout | 20px per row, shows all 6 columns of information |
| 1 | Grid mode | Compact grid layout | Configurable cell size, higher information density |
Different color indicators are shown based on AE network connection status:
| Status | Color | Color Value | Description |
|---|---|---|---|
| Online | Dark green | 0x2E7D32 | AE network connected, data updates in real-time |
| Offline | Red | 0xF44336 | AE network disconnected, data stops updating |
Offline overlay: When the AE network is offline, a red overlay is displayed over the list area with the text
"AE 网络离线".
All configuration items of the AE Realtime Monitor (with defaults and ranges):
| Config Item | Type / Default | Range | Description |
|---|---|---|---|
| aeMonitorFontSize | int = 12 | 8-16 | Font size |
| aeMonitorBold | boolean = false | - | Bold name |
| aeMonitorRenderMode | int = 0 | 0-1 | Render mode (0=entry / 1=grid) |
| aeMonitorIconSize | int = 16 | 8-32 | Icon size |
The number of monitored items in AE Realtime Monitor is limited:
-
Config:
Config.aeMaxMonitoredItems - Default: 64
- Range: 1-256
- Exceeding limit: cannot add new monitored items (must remove existing items first)
- Step 1: Open the Network Info Panel GUI and switch to the "AE Realtime Monitor" tab (tab 3)
- Step 2: Hold an AE item/fluid container and right-click the panel to add a monitored item
- Step 3: Scroll the list to view each item's data (amount, real-time change, 300s average change)
- Step 4: Click the "Remove" button on an item to remove it
- Step 5: Click the "Clear All" button to remove all monitored items
GUI geometry parameters for the AE Realtime Monitor list (used for layout calculation):
| Parameter | Value | Description |
|---|---|---|
| listLeft | left + 8 | List left boundary X coordinate |
| listTop | top + 163 | List top boundary Y coordinate |
| listWidth | xSize - 16 = 414 | List width |
| listHeight | 107 | List height |
| slotHeight | 20 | Row height (entry mode) |
| scrollbarWidth | 6 | Scrollbar width |
| Column | X Coordinate | Description |
|---|---|---|
| Icon | listLeft + 4 | Icon column start X |
| Name | listLeft + 22 | Name column start X |
| Amount | listLeft + 110 | Amount column start X |
| Real-time | listLeft + 170 | Real-time change column start X |
| Average | listLeft + 260 | 300s average change column start X |